java compare

674 단어
EventComparatorByNewMessage Comparator<EventObserverFriendModel> {

    compare(EventObserverFriendModel lhs, EventObserverFriendModel rhs) {
        publishTime = ;
        publishTime2 = ;

        (lhs == ) {
            publishTime = ;
        } {
            publishTime = lhs.getChatMessage().getTimeStampValue();
        }

        (rhs == ) {
            publishTime2 = ;
        } {
            publishTime2 = rhs.getChatMessage().getTimeStampValue();
        }

        (publishTime > publishTime2) {//               1   
            ;
        }

        (publishTime < publishTime2) {
            ;
        }

        ;
    }
}

좋은 웹페이지 즐겨찾기